package xishuiwanglearning;

import java.io.Serializable;

public class Student implements Serializable {

    private static final long serialVersionUID = 428098660646448500L;

    private  int id;

    private String name;

    private String englishName;

    private String address;

    private String phoneNumber;

    private String sid;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Student() {
    }

    public Student(int id, String name, String englishName, String address, String phoneNumber) {
        this.id = id;
        this.name = name;
        this.englishName = englishName;
        this.address = address;
        this.phoneNumber = phoneNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", englishName='" + englishName + '\'' +
                ", address='" + address + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                '}';
    }

    public void setSid(String sid) {
        this.sid = sid;
    }
}




